package com.itheima.manager;

import com.itheima.domain.PmsSkuStock;
import com.itheima.service.db.PmsSkuStockService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class PmsSkuStockManager {
    @DubboReference
    PmsSkuStockService pmsSkuStockService;



    public List<PmsSkuStock> findSkuStockByInfo(Integer pid, String keyword) {
       return pmsSkuStockService.findSkuStockByInfo(pid,keyword);
    }
}
